Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Header in Zmerge
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Application development
Platform: Not Applicable
Release: 8.0
Reproducible: Not attempted

I've a Zmerge script which creates a text file from a database view.
I want to add a header which should include the number of records in the file. I've included the line /OUT_HEADER="<Header> \r\n" ]
which will just add a string as a header but i want to display the record count as well. Please help!!!

The code goes here
/JOB_ID="TEST" ]
[ /EXPORT ]
[ /OUT_HEADER="<Header> \r\n" ]

[ /NSF_FILE="Server!!db.nsf" ]
[ /NSF_VIEW=SQL ]
[ /OUT_FILE="D:\Zmerge\Test.txt" ]
[ /OUT_DELIM="\r\n" ]
[ /OUT_APPEND=NO ]
[ /OUT_QUOTED=NO ]
[ /ON_SUCCESS= "D:\Zmerge\SuccessTEST.txt" ]
[ /ON_FAILURE= "D:\Zmerge\FailedTEST.txt" ]
[ /FLD_EXCEPTION=STOP ]
[ /STOP_ON_ERROR=NO ]
[ /QUIET=NO ]
[ /RUN_MODE=BATCH ]
FORMULASTART
SELECT @All
FORMULAEND

SQLStatement: UNTIL "|"


Feedback number WEBB8CNRV5 created by ~Denise Desjumibergoden on 12/31/2010


Header in Zmerge (~Denise Desjumi... 31.Dec.10)
. . ZMerge headers/trailers (~Jennifer Fronu... 3.Jan.11)
. . . . trailer parameter using replacement... (~Denise Desjumi... 4.Jan.11)
. . . . . . Use substitution syntax (~Jennifer Fronu... 4.Jan.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS